package Homework;

import java.util.Scanner;

public class Work6 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int i;
        double[] num = new double[6];
        for (i = 0; i < 3; i++) {
            num[i]=scanner.nextDouble();
        }
        for(i=0;i<3;i++){
            System.out.print(num[i]+" ");
            System.out.println();
        }
        for (i = 0; i < 3; i++) {
            num[i]=num[i]/2;
        }
        for(i=0;i<3;i++){
            System.out.print(num[i]+" ");
            System.out.println();
        }
    }
}
